package cn.wsh.org.service.impl;

import cn.wsh.basic.service.impl.BaseServiceImpl;
import cn.wsh.basic.util.PageList;
import cn.wsh.org.domain.Employee;
import cn.wsh.org.mapper.EmployeeMapper;
import cn.wsh.org.query.EmployeeQuery;
import cn.wsh.org.service.IEmployeeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * @ClassName : EmployeeServiceImpl
 * Author : "吴----"
 * @date : 2022/1/24 8:03
 */
@Service
@Transactional(readOnly = true, propagation = Propagation.SUPPORTS)
public class EmployeeServiceImpl extends BaseServiceImpl<Employee> implements IEmployeeService {
    @Autowired
    private EmployeeMapper employeeMapper;


    @Override
    public void batch(List<Long> ids) {
        employeeMapper.batch(ids);
    }
}
